![]() |
GetThemeStandaloneGrowBoxBounds |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Obtains the bounds of a size box.
OSStatus GetThemeStandaloneGrowBoxBounds ( Point origin, ThemeGrowDirection growDirection, Boolean isSmall, Rect *bounds );
A structure of type Point. Pass the origin point of the size box rectangle. For example, the origin point of the size box for an object that can grow downward and to the right is the size box’s upper-left corner. Typically, you use the coordinates of the corner of whatever object owns the size box for the origin value; for instance, if you are drawing a scrolling list that can grow downward and to the right, the origin value would be the coordinates of the bottom-right corner of the list.
A value of type ThemeGrowDirection. For a size box, pass a constant specifying the direction(s) in which the window can grow. See
A value of type Boolean. Pass a value of true to specify a small size box or fill image. Pass false to specify a large size box or fill image.
A pointer to a structure of type Rect. On return, the rectangle contains the boundary of the size box or fill image.
A result code.
The GetThemeStandaloneGrowBoxBounds function obtains the bounds of a size box under the current theme. Note that you can also use GetThemeStandaloneGrowBoxBounds to obtain the bounds of the fill image drawn by the function DrawThemeStandaloneNoGrowBox.
This function is available with Appearance Manager 1.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)